home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmInfo
- BorderStyle = 3 'Fixed Dialog
- Caption = "Info List"
- ClientHeight = 4935
- ClientLeft = 2760
- ClientTop = 3750
- ClientWidth = 6450
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4935
- ScaleWidth = 6450
- ShowInTaskbar = 0 'False
- StartUpPosition = 1 'CenterOwner
- Begin VB.TextBox infoTrack
- Height = 315
- Left = 1425
- MaxLength = 4
- TabIndex = 22
- Top = 2394
- Width = 1515
- End
- Begin VB.TextBox infoComposer
- Height = 315
- Left = 1425
- TabIndex = 20
- Top = 2763
- Width = 4935
- End
- Begin VB.TextBox infoURL
- Height = 315
- Left = 1425
- TabIndex = 18
- Top = 3870
- Width = 4935
- End
- Begin VB.TextBox infoEncodedBy
- Height = 315
- Left = 1425
- TabIndex = 16
- Top = 3501
- Width = 4935
- End
- Begin VB.CommandButton cmdCancel
- Caption = "Cancel"
- Height = 345
- Left = 5160
- TabIndex = 15
- Top = 4410
- Width = 1215
- End
- Begin VB.CommandButton cmdOk
- Caption = "OK"
- Height = 345
- Left = 3750
- TabIndex = 14
- Top = 4410
- Width = 1215
- End
- Begin VB.TextBox infoArtist
- Height = 315
- Left = 1425
- TabIndex = 6
- Top = 549
- Width = 4905
- End
- Begin VB.TextBox infoAlbum
- Height = 315
- Left = 1425
- TabIndex = 5
- Top = 918
- Width = 4890
- End
- Begin VB.TextBox infoCopyright
- Height = 315
- Left = 1425
- TabIndex = 4
- Top = 1656
- Width = 4935
- End
- Begin VB.TextBox infoYear
- Height = 315
- Left = 1425
- MaxLength = 4
- TabIndex = 3
- Top = 2025
- Width = 1515
- End
- Begin VB.TextBox infoComment
- Height = 315
- Left = 1425
- TabIndex = 2
- Top = 3132
- Width = 4935
- End
- Begin VB.TextBox infoTitle
- Height = 315
- Left = 1425
- TabIndex = 1
- Top = 180
- Width = 4905
- End
- Begin VB.ComboBox infoGenre
- Height = 315
- Left = 1425
- Style = 2 'Dropdown List
- TabIndex = 0
- Top = 1287
- Width = 4905
- End
- Begin VB.Label Label7
- Caption = "Track:"
- Height = 270
- Left = 180
- TabIndex = 23
- Top = 2439
- Width = 1080
- End
- Begin VB.Label Label6
- Caption = "Composer:"
- Height = 270
- Left = 180
- TabIndex = 21
- Top = 2808
- Width = 1080
- End
- Begin VB.Label Label4
- Caption = "URL:"
- Height = 270
- Left = 180
- TabIndex = 19
- Top = 3915
- Width = 1080
- End
- Begin VB.Label Label2
- Caption = "Encoded By:"
- Height = 270
- Left = 180
- TabIndex = 17
- Top = 3546
- Width = 1080
- End
- Begin VB.Label Label18
- Caption = "Year:"
- Height = 270
- Left = 180
- TabIndex = 13
- Top = 2070
- Width = 1080
- End
- Begin VB.Label Label17
- Caption = "Comment:"
- Height = 270
- Left = 180
- TabIndex = 12
- Top = 3177
- Width = 1080
- End
- Begin VB.Label Label11
- Caption = "Genre:"
- Height = 270
- Left = 180
- TabIndex = 11
- Top = 1332
- Width = 1080
- End
- Begin VB.Label Label5
- Caption = "Album:"
- Height = 270
- Left = 180
- TabIndex = 10
- Top = 963
- Width = 1080
- End
- Begin VB.Label Label3
- Caption = "Artists:"
- Height = 270
- Left = 180
- TabIndex = 9
- Top = 594
- Width = 1080
- End
- Begin VB.Label Label1
- Caption = "Copyright:"
- Height = 270
- Left = 180
- TabIndex = 8
- Top = 1701
- Width = 1080
- End
- Begin VB.Label Label8
- Caption = "Title:"
- Height = 270
- Left = 180
- TabIndex = 7
- Top = 225
- Width = 1080
- End
- Attribute VB_Name = "frmInfo"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim Info As AudioEditor2FileInfo
- Private Sub cmdCancel_Click()
- Unload Me
- End Sub
- Private Sub cmdOK_Click()
- Info.Title = infoTitle.Text
- Info.Artist = infoArtist.Text
- Info.Album = infoAlbum.Text
- Info.Genre = infoGenre.ListIndex
- Info.Copyright = infoCopyright.Text
- Info.Comments = infoComment.Text
- Info.Year = infoYear.Text
- Info.Track = infoTrack.Text
- Info.URL = infoURL.Text
- Info.EncodedBy = infoEncodedBy.Text
- Info.Composer = infoComposer.Text
- Unload Me
- End Sub
- Private Sub Form_Load()
- Set Info = frmDialog.AudioEditor1.FileInfo
- For i = 0 To 147
- infoGenre.AddItem (Info.GenreToString(i))
- Next i
- infoTitle.Text = Info.Title
- infoArtist.Text = Info.Artist
- infoAlbum.Text = Info.Album
- infoGenre.ListIndex = Info.Genre
- infoCopyright.Text = Info.Copyright
- infoComment.Text = Info.Comments
- infoYear.Text = Info.Year
- infoTrack.Text = Info.Track
- infoURL.Text = Info.URL
- infoEncodedBy.Text = Info.EncodedBy
- infoComposer.Text = Info.Composer
- End Sub
-